package week1;

/**
 * Created by Xun on 2017/9/12.
 */
public class Test {
    public static void main(String[] args) {
        TicketMaker s1=TicketMaker.getInstance();
        TicketMaker s2=TicketMaker.getInstance();
        TicketMaker s3=TicketMaker.getInstance();
        System.out.println(s1.getNextTicketNumber());
        System.out.println(s2.getNextTicketNumber());
        System.out.println(s3.getNextTicketNumber());
    }
}
